<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});

Auth::routes();

Route::get('/home', 'HomeController@index')->name('home');
//微信路由
//Route::any('/wechat', 'WeChatController@serve');
Route::post('/sms','SmsController@sendSms')->name('sms');

//上传图片路由
Route::any('/upload', 'UploadController@upload');
//导出角色Execl路由
    Route::get('/phpoffice','PHPExcelController@phpOiifce')->name('phpoffice');

//导出角色Execl路由
Route::get('/phpofficer','PHPExcelController@phpOiifcer')->name('phpofficer');

//redis路由
Route::get('/trade','Trade\TradeController@trade');
